package com.XinYun.Library.modules.Register.Dao;

public interface UserDao {
    /**
     * 判断邀请码是否正确
     * @param code
     * @return
     */
    boolean isCode(String code) throws Exception;

    /**
     * 判断是否验证成功
     * @param username
     * @param direction
     * @param date
     * @return
     * @throws Exception
     */
    boolean isVerify(String username,String direction,String date) throws Exception;

}
